#ifndef LOGICPLAYER_H
#define LOGICPLAYER_H
#include"tool.h"
#include"object.h"
#include"Json/value.h"

class LogicPlayer:public Object
{
    GET_SINGLE_OBJECT(LogicPlayer)
public:
    void c2sPlayerLeave(Json::Value& msg);

    void c2sInitData(Json::Value& msg);

    void c2sInitPos(Json::Value& msg);

    void c2sMoveTo(Json::Value& msg);

    void c2sVertifyPos(Json::Value& msg);

    void c2sUpdateData(Json::Value& msg);
private:
    LogicPlayer();

    SINGLE_ATTRIBUTES(LogicPlayer);
};

#endif // LOGICPLAYER_H
